package com.amigo.online.provider.manager.model.entity;


import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.provider.manager.util.param.dto.PageDto;

@Table(name = "category_tbl")
@Alias(value = "categoryTbl")
public class CategoryTbl extends PageDto {


    private static final long serialVersionUID = 1L;


    /**
     * 父级id，0代表最顶层
     */
    @Column(name = "p_id")
    private Long pId;

    /**
     * 中文
     */
    @Column(name = "name_cn")
    private String nameCn;

    /**
     * 英文名
     */
    @Column(name = "name_en")
    private String nameEn;

    /**
     * 西班牙名
     */
    @Column(name = "name_es")
    private String nameEs;

    /**
     * 葡萄牙名
     */
    @Column(name = "name_pt")
    private String namePt;

    @Column(name = "img_url")
    private String imgUrl;


    @Column(name = "updated_time")
    private Long updatedTime;

    /**
     * 0删除 1未删除
     */
    @Column(name = "deleted")
    private Integer deleted;


    @Column(name = "deleted_time")
    private Long deletedTime;


    public Long getpId() {
        return pId;
    }


    public void setpId(Long pId) {
        this.pId = pId;
    }


    public String getNameCn() {
        return nameCn;
    }


    public void setNameCn(String nameCn) {
        this.nameCn = nameCn;
    }


    public String getNameEn() {
        return nameEn;
    }


    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }


    public String getNameEs() {
        return nameEs;
    }


    public void setNameEs(String nameEs) {
        this.nameEs = nameEs;
    }


    public String getNamePt() {
        return namePt;
    }


    public void setNamePt(String namePt) {
        this.namePt = namePt;
    }


    public String getImgUrl() {
        return imgUrl;
    }


    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }


    public Long getUpdatedTime() {
        return updatedTime;
    }


    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }


    public Integer getDeleted() {
        return deleted;
    }


    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }


    public Long getDeletedTime() {
        return deletedTime;
    }


    public void setDeletedTime(Long deletedTime) {
        this.deletedTime = deletedTime;
    }


}
